#include"bits/stdc++.h"
using namespace std;
int n,jl,h,l;
int main()
{
	cin>>h>>l;
	jl=h;
	while(jl<l)
	{
		h=h*0.5;
		jl+=h;
		n+=1;
	}
	cout<<n+1;
}
